package com.example.model;

import java.io.Serializable;
import java.util.Date;
import io.swagger.annotations.ApiModelProperty;



/**
 * Created on 2017/12/26 18:50.
 *
 * categoryId 	TINYINT 	3 	 
 * name 	VARCHAR 	25 	 
 * lastUpdate 	TIMESTAMP 	19 	 
 */

public class Category implements Serializable {

	private static final long serialVersionUID = 6568160004619184064L;

    @ApiModelProperty(value = "categoryId")
    private Byte categoryId;

    @ApiModelProperty(value = "name")
    private String name;

    @ApiModelProperty(value = "lastUpdate")
    private Date lastUpdate;

    public Byte getCategoryId() {
        return categoryId;
    }

    public Category setCategoryId(Byte categoryId) {
        this.categoryId = categoryId;
		return this;
    }

    public String getName() {
        return name;
    }

    public Category setName(String name) {
        this.name = name == null ? null : name.trim();
		return this;
    }

    public Date getLastUpdate() {
        return lastUpdate;
    }

    public Category setLastUpdate(Date lastUpdate) {
        this.lastUpdate = lastUpdate;
		return this;
    }
}
